<template>
  <el-dialog
    top="30px"
    width="1000px"
    title="查看"
    append-to-body
    :visible.sync="visible"
    :close-on-click-modal="false"
    :before-close="beforeClose"
  >
    <archive-attach v-bind="$attrs" v-on="$listeners" :visible="visible" view-mode></archive-attach>
  </el-dialog>
</template>

<script>
import ArchiveAttach from '@/credit/views/city/archives/ArchiveAttach'

export default {
  components: {
    ArchiveAttach,
  },
  props: {
    visible: Boolean,
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped>
.archive-title {
  font-size: 1.1rem;
  font-weight: bold;
}
</style>
